package cn.kgc.ssm.service;

import cn.kgc.ssm.dto.UserPageDTO;
import cn.kgc.ssm.entity.User;
import cn.kgc.ssm.util.ResponseResult;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/12/14
 */
public interface UserService {

    ResponseResult getPage(UserPageDTO userPageDTO);

    ResponseResult addUser(User user);


    User getById(Integer userId);

    ResponseResult editUser(User user);

    ResponseResult updateStatus(Integer userId, Integer status);

    ResponseResult deleteByIds(String ids);

    ResponseResult login(String username, String password);
}
